xl: fork before execing vncviewer
authorIan Campbell <ian.campbell@citrix.com>
Fri, 27 Sep 2013 10:16:22 +0000 (11:16 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 3 Oct 2013 12:39:53 +0000 (13:39 +0100)
commit6ea993cbb173bbc4bb5f8095724735aa6439d164
tree76cbb8d2ce5021d8f07d81c8c2d09ab1830d8257
parenta7fa7a4fd6b94c2ace19774ba4ba9f0185c2f2c1
xl: fork before execing vncviewer

Otherwise we don't daemonize to monitor the domain.

Heavily cargo-culted from autoconnect-console and only compile tested.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Tested-by: Olaf Hering <olaf@aepfle.de>
tools/libxl/xl.h
tools/libxl/xl_cmdimpl.c